/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.eurotrader.beanssessao;

import java.util.ArrayList;
import java.util.List;
import javax.faces.model.SelectItem;
import javax.inject.Named;

/**
 *
 * @author Edmilson
 */
@Named
public class BeanSelectItens {

    public List<SelectItem> getOpcoes() {
        List<SelectItem> items = new ArrayList<SelectItem>();
        items.add(new SelectItem("S", "Sim"));
        items.add(new SelectItem("N", "Não"));
        return items;
    }

    public List<SelectItem> getOpcoesModelo() {
        List<SelectItem> items = new ArrayList<SelectItem>();
        items.add(new SelectItem("ACOES", "Ações"));
        items.add(new SelectItem("INDICE", "Indice"));
        return items;
    }
}
